﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using BouquetApplication.logging;

namespace BouquetApplication
{
    public class BouquetFactory
    {

      private static ILogger logger = LoggerFactory.CreateLogger();

      public Bouquet CreateBouquet()
       {
         Bouquet bouquet = new Bouquet();

         Lilie tiger;
         tiger = new Lilie("Королевская красная", 10, FlowerColor.Red, LilieSort.Queen);
         bouquet.Add(tiger);

         Rosaceous red;
         red = new Rosaceous("Красная роза", 15, FlowerColor.Red, RoseSize.Small);
         red.Color = FlowerColor.Red;
         bouquet.Add(red);

         logger.Log("bouquet is created");

         return bouquet;
       }
        
    }
}
